//
//  GameLayer.h
//  Coffee
//
//  Created by sabhanayagam b on 4/29/11.
//  Copyright 2011 Cognizant. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "cocos2d.h"
#import "Polygon.h"
#import "Square.h"

#define SIZE_ZERO   CGSizeMake(0.0f, 0.0f)
#define HALF_WIDTH  winSize.width  * 0.5f
#define HALF_HEIGHT winSize.height * 0.5f


@interface GameLayer : CCLayer {
	CGPoint lastTouchLocation;
	BOOL changeShape , isCollision;
	
	CCSprite* player;

	Square *polyz;
	Square *polya; 
	Square *polyb; 
		
	Vector2D *velocity;
	Vector2D *transitVector;
	
	float friction , bounce , gravity;
	CGSize winSize;

}

@property (nonatomic , retain)Vector2D *transitVector;

@end
